@layout("/backend/common/_container.html"){
<div class="dhcc-form">
    <form method='post' id="sdsStandSourceInfoForm" name="sdsStandSourceInfoForm" enctype="multipart/form-data">

        <#Hidden id="id" value="${sdsStandDataSource.id}"/>
        <#Input id="sourceCode" name="字段代码" value="${sdsStandDataSource.sourceCode}"/>
        <#Input id="sourceDesc" name="字段名称" value="${sdsStandDataSource.sourceDesc}"/>
        <!--<#SelectTree id="parentId" isMulti="false" selectRoot="true" url="/sds/sdsstanddatasource/tree" name="上级数据源" value="${sdsStandDataSource.parentId}" textValue="${parentName}"/>-->
        <div class="form-group">
            <label class="lab">上级字典</label>
            <div class="ele ">
                <input id="parentId" class="hisui-combotree" placeholder='请点击下拉'  value="${sdsStandDataSource.parentId}" style="width:493px;"/>
            </div>
        </div>
        <#Input id="resume" name="备注说明" value="${sdsStandDataSource.resume}"/>
<!--        <#Radio id="isActive" name="有效标志" code="status" value="${sdsStandDataSource.isActive}"/>-->
        <span class="col-sm-2" style="margin-top:10px;text-align: right">是否生效</span>
        <div class="col-sm-4">
            <input class='hisui-checkbox' id="isActive" type="checkbox" ${sdsStandDataSource.isActive==1 ?
            'checked' : ''}>
        </div>
        <div class="toolbar">
            <#Button name="保存" id="ensure" icon="icon-w-save" clickFun="SdsStandSourceInfoDlg.editSubmit()"/>
            <#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="SdsStandSourceInfoDlg.close()"/>
        </div>
    </form>
</div>
<script src="${ctxPath}/static/backend/sds/sdsstanddatasource/sdsstanddatasource_info.js"></script>
@}
